let monthWord = [
    "January",
    "February",
    "March",
    "April",
    "May",
    "June",
    "July",
    "August",
    "September",
    "October",
    "November",
    "December",
];
let week = [
    "Sunday",
    "Monday",
    "Tuesday",
    "Wednesday",
    "Thursday",
    "Friday",
    "Saturday",
];
export const lang = {
  encryptedEmailMainTip:"Only users who have  intranet or extranet mail permissions can read encrypted mail",
  encryptedEmailSubTip:"You may need to login again when open the encrypted mail",
  checkEmail:"Check Email",
  off404:"The page is missing, please touch to reload",
  serveerror:"Server connection error, please tap to reload",
  offline:"No internet available",
  goloading:"The attachment file is too large, whether to continue waiting for loading",
  emailDetailOffline: "Failure in fetching details, please check your network",
  hasNoEmail: "No Email",
  yes: "Yes",
  no: "No",
  tabMail: "Email",
  inbox: "Inbox",
  searchEmail: "Search",
  cancel: "Cancel",
  filter: "Filter",
  mailAndFolders: "Mail&Folders",
  followedMails: "Follow",
  drafts: "Drafts",
  drafts_another: "Drafts",
  sent: "Sent",
  sent_another: "Sent Items",
  deleted: "Deleted",
  deleted_another: "Deleted Items",
  junk: "Junk",
  junk_another: "Junk Email",
  myFolder: "My Folder",
  all: "All",
  unread: "Unread",
  followMail: "Star Email",
  attachment: "Attachment",
  selectAll: "Select All",
  elect: "Elect",
  previewNotSupported: "The format is not supported, please preview it in PC",
  previewError: "Preview failed, please check network settings",
  emailSelected: "selected",
  writeMail: "Compose",
  sender: "From",
  receiver: "To",
  ccBcc: "Cc/Bcc",
  subject: "Subject",
  noSubject: "No Subject",
  noContent: "No Content",
  noEmail: "No E-mail",
  placeholderContent: "Text input...",
  markRead: "Mark as read",
  delete: "Delete",
  move: "Move",
  photo: "Photo",
  camera: "Camera",
  addAttach: "Add Attachments",
  attachNotExceed: "Attachment size is not allowed to exceed 33M",
  confirm: "Confirm",
  send: "Send",
  sending: "Sending...",
  preview: "Preview",
  saveAsDraft: "Save as draft",
  deleteDraft: "Delete the draft",
  noSubjectNoti: "The subject is empty. Continue sending the email?",
  noContentNoti: "The content is empty. Continue sending the email?",
  sentSuccess: "Email sent successfully",
  detail: "Details",
  hide: "Hide",
  forward: "Forward",
  reply: "Reply",
  time: "Time",
  addCommonExpression: "Add",
  inputUsualReplies: "Add your usual replies...",
  done: "Done",
  notYetSave: "Content not saved,sure to cancel?",
  chooseReplyer: "Please choose to reply to",
  replyAll: "Reply All",
  originMessage: "Original message",
  noResults: "No results",
  noUnreadMails: "No unread emails",
  emailManage: "Management",
  loading: "Loading...",
  errorCancleNotify: "Failed to Notification",
  errorLogin: "Login Failed.Please Try Again Later.",
  errorEmailRight: "Login failed, please login again or check mailbox permissions",
  permissions:"Temporarily support Oujia system employees who use O365 mailboxes (only need to accompany ZEKU, Taiwan and some external cooperation)",
  symbelColon: "：",
  placeholderInput: "Input...",
  copyer: "Cc",
  privatelyPerson: "Bcc",
  privatelySend: "Bcc",
  errorSubjectMaxium: "Email subject is no more than 255 letters.",
  errorNoEmailAddress: "The following persons without email address",
  errorReceiverNone: "Empty Receivers",
  errorPersonsMaxium: "Recipient/cc/Bcc are no more than 500 in total",
  errorNoSubjectContent:
    "The subject and content are empty. Continue sending the email?",
  errorEmailFormat: "E-mail format is incorrect",
  errorEmailRepeated: "E-mail Repeated",
  succeedReply: "Reply Successfully",
  errorReplt: "Reply Failed",
  errorNetwork: "The current network is unavailable, the operation failed.",
  successSave: "Save Successfully",
  saveFail: "Save Fail,please check your network.",
  DelFail:"Delete Fail,please check your network.",
  successDelete: "Delete Successfully",
  successMove: "Move Successfully",
  tipsInit: "Waiting for e-mail initialization...",
  tipsRefresh: "Fetching latest e-mails",
  noMore: "No More",
  successRead: "Read Successfully",
  successMark: "Mark Successfully",
  followFailed:"Cancel success",
  errorServer: "Server Error",
  errorSys: "Error",
  flashTips: "FlashTips",
  quickReply: "QuickReply",
  afternoon: "PM",
  morning: "AM",
  yesterday: "Yesterday",
  beforeYesterday: "BeforeYesterday",
  tips: "Tips",
  openFileConfirm:
    "  Does not support \nexpanding more levels, please go to the PC to operate",
  noSubFolder: "No subfolders",
  Retry: "The network is abnormal, please try again later",
  moveToInbox: "Do you want to move the selected file to Inbox",
  withAttachment: "Add Attachment",
  withoutAttachment: "Waive Attachment",
  uploadImageFail: "Image upload failed",
  sureCancel: "Are you sure to cancel?",
  sureDel: "Are you sure to delete?",
  sureSave:"Are you sure to save?",
  attachSizeLimit: "Whole attachments size greater than 33M is not supported",
  wholeAttachSizeLimit: "Single attachment size should be less than 33M",
  meetingTime: "meeting time",
  meetingPlace: "meeting place",
  replyWarn:
    "Only support the maintenance of 5 common words, still need to add, please delete at least one other common words first",
  NotSupport: "This operation is not supported for this message",
  replyCanNot: "Reply cannot be empty",
  messageDelMov: "The message has been deleted or moved",
  getDetailFailed: "Failed to get details",
  ForwardFail: "Forwarding failed",
  openPreviewNoti: "Pleaze try again later",
  openPreviewTryAgain: "Try Again",
  openPreviewContinueWaiting: "Continue Waiting",
  fileUploadNotFinished:
    "File has not finished uploading, please try again later",
  // mailEnd: "The message has ended",
  moveFileConfirm(filename) {
    return `Do you want to move the selected file to ${filename}?`;
  },
  mailYearDate(year, monthIndex, date) {
    return `${monthWord[monthIndex]} ${date}th ${year} `;
  },
  mailMonthDate(monthIndex, date) {
    return `${monthWord[monthIndex]} ${date}th`;
  },
  mailMeeting(year, monthIndex, date, weekIndex) {
    return `${monthWord[monthIndex]} ${date}th ${year} ${week[weekIndex]} `;
  },
};
